Skip to content

fix(ui): dismiss annotation toolbars on outside click and Escape#182

Merged
backnotprop merged 2 commits intobacknotprop:mainfrom
flex-yj-kim:fix/review-toolbar-outside-click
Feb 25, 2026
Merged

fix(ui): dismiss annotation toolbars on outside click and Escape#182
backnotprop merged 2 commits intobacknotprop:mainfrom
flex-yj-kim:fix/review-toolbar-outside-click

Conversation

@flex-yj-kim
Copy link
Contributor

Summary

  • Dismiss code review and plan annotation toolbars when clicking outside or pressing Escape.
  • Consolidate dismissal behavior into a shared hook.

Changes

  • Add useDismissOnOutsideAndEscape in UI hooks.
  • Use the hook in review diff toolbar and plan annotation toolbar.
  • Ensure Escape works even when the textarea is not focused (review).

Testing

@backnotprop backnotprop merged commit 39b63c9 into backnotprop:main Feb 25, 2026
3 checks passed
@flex-yj-kim flex-yj-kim deleted the fix/review-toolbar-outside-click branch February 26, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants